package com.community.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/4 16:16
 */
@Getter
@Setter
@TableName("car_record")
public class CarPO implements Serializable {
    @TableId(type = IdType.AUTO )
    private Long id;
    private String communityName;
    private String ownerName;
    private String cChance;  //车辆出入闸机
    private String phone;    //手机号
    private String carType;  //车辆类型
    private String carNumber;  //车牌号
    private String pay;     //支付方式
    private String carDate; //停车时长
    private String carMoney; ;  //停车费用
    @DateTimeFormat(pattern = "yyyy-MM-dd")  //车量出入时间
    private Date date;
}
